package com.lxb.eduservice.client;

import com.lxb.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 熔断器的实现类
 *
 * @author xuebin.li
 * @createTime 2022/12/7 14:00
 */
@Component
public class VodClientImpl implements VodClient {
    @Override
    public R deleteVideoByID(String videoId) {
        return R.error().message("time out");
    }

    @Override
    public R deleteBath(List<String> vodIds) {
        return R.error().message("time out");
    }
}
